Content type primitives
This package provides primitives for building custom XMTP content types.
Install the package
npm i @xmtp/content-type-primitives
yarn add @xmtp/content-type-primitives
pnpm i @xmtp/content-type-primitives
Developing
Run yarn dev
to build the content type primitives and watch for changes, which will trigger a rebuild.
Useful commands
yarn build
: Builds the content type primitivesyarn clean
: Removes node_modules
, dist
, and .turbo
foldersyarn dev
: Builds the content type and watches for changes, which will trigger a rebuildyarn format
: Runs Prettier format and write changesyarn format:check
: Runs Prettier format checkyarn lint
: Runs ESLintyarn test
: Runs all unit testsyarn typecheck
: Runs tsc